//
//  List.m
//  Homework_22
//
//  Created by 徐昊 on 16/8/13.
//  Copyright © 2016年 徐昊. All rights reserved.
//

#import "List.h"

@implementation List
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"mvlist"] ) {
        NSMutableArray<MV *> *mvArray = [NSMutableArray array];
        for (NSDictionary *mvDic in value) {
            MV *mv = [MV modelWithDic:mvDic];
            [mvArray addObject:mv];
        }
        _mvList = mvArray;
    }
}
@end
